package com.ruoyi.supermarket.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤管理对象 attendance
 * 
 * @author wqr
 * @date 2024-07-22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Attendance implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 考勤id */
    private Long aid;

    /** 员工外键id */
    @Excel(name = "员工")
    private Employee employee;

    /** 考勤时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考勤时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date atime;

    /** 考勤类型 */
    @Excel(name = "考勤类型")
    private String atype;

    /** 考勤状态 */
    @Excel(name = "考勤状态")
    private String astatus;


}
